<?php /* Smarty version Smarty-3.1.12, created on 2013-03-09 16:00:24
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/prototypes/eloAward.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10251036605117c7425c0d95-97045615%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8373c49952f1daa31d197b75987e723116be060b' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/prototypes/eloAward.tpl',
      1 => 1362841217,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10251036605117c7425c0d95-97045615',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5117c742635f62_48919294',
  'variables' => 
  array (
    'elo' => 0,
    'eloClass' => 0,
    'eloAltDesc' => 0,
    'matchMode' => 0,
    'matchModeShortcut' => 0,
    'wins' => 0,
    'loses' => 0,
    'heroUnitImgSrc' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5117c742635f62_48919294')) {function content_5117c742635f62_48919294($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['elo']->value>@DIAMONDELO){?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/diamond-award.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("diamong", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Diamond", null, 0);?>

<?php }elseif($_smarty_tpl->tpl_vars['elo']->value>=@GOLDELO&&$_smarty_tpl->tpl_vars['elo']->value<@DIAMONDELO){?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/gold-award.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("gold", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Gold", null, 0);?>

<?php }elseif($_smarty_tpl->tpl_vars['elo']->value>=@SILVERELO&&$_smarty_tpl->tpl_vars['elo']->value<@GOLDELO){?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/silver-award.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("silver", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Silver", null, 0);?>
<?php }else{ ?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/bronze-award.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("bronze", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Bronze", null, 0);?>
<?php }?>
<div align="center">
	<h3 class="eloAwardElo <?php echo $_smarty_tpl->tpl_vars['eloClass']->value;?>
 t" title="<b>General Elo-Rating</b><br>Your Ranking is: <?php echo $_smarty_tpl->tpl_vars['eloAltDesc']->value;?>
" data-html="true" align="center"><?php echo $_smarty_tpl->tpl_vars['elo']->value;?>
</h3>
	<div class="eloAwardMatchMode t" title="<?php echo $_smarty_tpl->tpl_vars['matchMode']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['matchModeShortcut']->value;?>
</div>
	<div class="eloAwardWins">Wins: <span class="text-success"><?php echo $_smarty_tpl->tpl_vars['wins']->value;?>
</span></div>
	<div class="eloAwardLoses">Losses: <span class="text-error"><?php echo $_smarty_tpl->tpl_vars['loses']->value;?>
</span></div>
		<img src="<?php echo $_smarty_tpl->tpl_vars['heroUnitImgSrc']->value;?>
" class="" alt="Ranking: <?php echo $_smarty_tpl->tpl_vars['eloAltDesc']->value;?>
" style="margin:0 0px"/>	
</div><?php }} ?>